package com.jt;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@MapperScan("com.jt.mapper")//Spring容器内部为接口创建代理对象
                             //jdk动态代理对象
//扫描包里的接口，为接口创建代理对象（jdk的动态代理对象）
@SpringBootApplication
public class RunApp {
    public static void main(String[] args) {
        SpringApplication.run(RunApp.class,args);
    }
}
